package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 视频对象 sys_video
 *
 * @author ruoyi
 * @date 2024-03-10
 */
public class SysVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频id */
    private Long id;

    /** 视频名字 */
    @Excel(name = "视频名字")
    private String videoName;

    /** 视频类型 */
    @Excel(name = "视频类型")
    private Long videoType;

    /** 视频第几集 */
    @Excel(name = "视频第几集")
    private Long videoIndex;

    /** 视频总集数 */
    @Excel(name = "视频总集数")
    private Long videoCount;

    /** 视频本地路径 */
    @Excel(name = "视频本地路径")
    private String videoPath;

    /** 视频作者 */
    @Excel(name = "视频作者")
    private String videoAuthor;

    /** 视频日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "视频日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date videoDate;

    /** 视频时长 */
    @Excel(name = "视频时长")
    private String videoTime;

    /** 观看数 */
    @Excel(name = "观看数")
    private Long videoWatchCount;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long videoCommentsCount;

    /** 视频作者id */
    @Excel(name = "视频作者id")
    private Long videoAuthorid;

    /** 视频封面 */
    @Excel(name = "视频封面")
    private String videoCover;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeCount;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long collectCount;

    /** 频道id */
    @Excel(name = "频道id")
    private Long channelId;

    /** 当前状态 0草稿 1提交 */
    @Excel(name = "当前状态 0草稿 1提交")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setVideoName(String videoName)
    {
        this.videoName = videoName;
    }

    public String getVideoName()
    {
        return videoName;
    }
    public void setVideoType(Long videoType)
    {
        this.videoType = videoType;
    }

    public Long getVideoType()
    {
        return videoType;
    }
    public void setVideoIndex(Long videoIndex)
    {
        this.videoIndex = videoIndex;
    }

    public Long getVideoIndex()
    {
        return videoIndex;
    }
    public void setVideoCount(Long videoCount)
    {
        this.videoCount = videoCount;
    }

    public Long getVideoCount()
    {
        return videoCount;
    }
    public void setVideoPath(String videoPath)
    {
        this.videoPath = videoPath;
    }

    public String getVideoPath()
    {
        return videoPath;
    }
    public void setVideoAuthor(String videoAuthor)
    {
        this.videoAuthor = videoAuthor;
    }

    public String getVideoAuthor()
    {
        return videoAuthor;
    }
    public void setVideoDate(Date videoDate)
    {
        this.videoDate = videoDate;
    }

    public Date getVideoDate()
    {
        return videoDate;
    }
    public void setVideoTime(String videoTime)
    {
        this.videoTime = videoTime;
    }

    public String getVideoTime()
    {
        return videoTime;
    }
    public void setVideoWatchCount(Long videoWatchCount)
    {
        this.videoWatchCount = videoWatchCount;
    }

    public Long getVideoWatchCount()
    {
        return videoWatchCount;
    }
    public void setVideoCommentsCount(Long videoCommentsCount)
    {
        this.videoCommentsCount = videoCommentsCount;
    }

    public Long getVideoCommentsCount()
    {
        return videoCommentsCount;
    }
    public void setVideoAuthorid(Long videoAuthorid)
    {
        this.videoAuthorid = videoAuthorid;
    }

    public Long getVideoAuthorid()
    {
        return videoAuthorid;
    }
    public void setVideoCover(String videoCover)
    {
        this.videoCover = videoCover;
    }

    public String getVideoCover()
    {
        return videoCover;
    }
    public void setLikeCount(Long likeCount)
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount()
    {
        return likeCount;
    }
    public void setCollectCount(Long collectCount)
    {
        this.collectCount = collectCount;
    }

    public Long getCollectCount()
    {
        return collectCount;
    }
    public void setChannelId(Long channelId)
    {
        this.channelId = channelId;
    }

    public Long getChannelId()
    {
        return channelId;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("videoName", getVideoName())
                .append("videoType", getVideoType())
                .append("videoIndex", getVideoIndex())
                .append("videoCount", getVideoCount())
                .append("videoPath", getVideoPath())
                .append("videoAuthor", getVideoAuthor())
                .append("videoDate", getVideoDate())
                .append("videoTime", getVideoTime())
                .append("videoWatchCount", getVideoWatchCount())
                .append("videoCommentsCount", getVideoCommentsCount())
                .append("videoAuthorid", getVideoAuthorid())
                .append("videoCover", getVideoCover())
                .append("likeCount", getLikeCount())
                .append("collectCount", getCollectCount())
                .append("channelId", getChannelId())
                .append("status", getStatus())
                .toString();
    }
}
